package com.liuxvru.project.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.liuxvru.project.domain.WorkAttachment;

import java.util.List;

/**
 * 工作项附件Service接口
 * 
 * @author liuxvru
 * @date 2025-02-17
 */
public interface IWorkAttachmentService extends IService<WorkAttachment>
{
    /**
     * 查询工作项附件列表
     * 
     * @param workAttachment 工作项附件
     * @return 工作项附件集合
     */
     List<WorkAttachment> selectWorkAttachmentList(WorkAttachment workAttachment);

    int add(WorkAttachment workAttachment,Long workItemId);

    int edit(WorkAttachment workAttachment);

    int delFiles(Long projectId, Long workItemId, List<Long> list);
}
